﻿using LoveEat.ErrorCode;
using MediatR;

namespace LoveEat.API.Write.Applications.Commands.Paths
{
    /// <summary>
    /// 照片添加
    /// </summary>
    public class PathAddCommand:IRequest<APIResult<int>>
    {
        /// <summary>
        /// 业务类型
        /// </summary>
        public int PathType { get; set; }
        /// <summary>
        /// 关联ID
        /// </summary>
        public int RelateId { get; set; }
        /// <summary>
        /// 文件名
        /// </summary>
        public string PathName { get; set; }
        /// <summary>
        /// 文件地址
        /// </summary>
        public string PathUrl { get; set; }
    }
}
